home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 8
/
QRZ Ham Radio Callsign Database - Volume 8.iso
/
pc
/
files
/
dsp
/
srffttar.z
/
srffttar
/
SRFFT
/
makefile.AMIGA
< prev
next >
Wrap
Makefile
|
1991-08-26
|
2KB
|
119 lines
# Makefile for msdos using microsoft c and masm.
#
#
CFLAGS= -O -w
LIBS=
CC = lc
all: progs tests
progs: fftgc fftgf fftg68
fft: fft256c.o fft256f.o fftsubs.o fft256a.o
tests: fft2c fft2f fft2a.o
#
# The generator programs
#
.c.o:
$(CC) $(CFLAGS) $*.c
fftoutf.o: fftoutf.c
fftoutc.o: fftoutc.c
fftg.o: fftg.c
fftgc: fftg.o fftoutc.o
blink lib:c.o fftg.o fftoutc.o to fftgc lib lib:lcms.lib lib:lcs.lib
fftgf: fftg.o fftoutf.o
blink lib:c.o fftg.o fftoutf.o to fftgf lib lib:lcms.lib lib:lcs.lib
fftg68: fftg.o fftout68.o
blink lib:c.o fftg.o fftout68.o to fftg68 lib lib:lcms.lib lib:lcs.lib
#
# test programs
#
fft256c.o: fft256c.c fftsubs.h
$(CC) $(CFLAGS) $*.c
fft256f.o: fft256f.c
$(CC) $(CFLAGS) $*.c
fftsubs.o: fftsubs.c
$(CC) $(CFLAGS) $*.c
fft2.o: fft2.c
lc -O fft2.c
fft2c: fft2 fft256c
blink lib:c.o fft2.o fft256c.o to fft2c lib lib:lcm.lib lib:lc.lib
fft2f: fft2.o fft256f.o fftsubs.o
blink lib:c.o fft2.o fft256f.o fftsubs.o to fft2f lib lib:lcm.lib lib:lc.lib
fft2_68: fft2.o fft256_68.o
blink lib:c.o fft2.o fft256_68.o to fft2_68 lib lib:lcm.lib lib:lc.lib
#
# generated files
#
fft256c.c: fftgc
fftgc fft256c 8 fft
fft256f.c: fftgf
fftgf fft256f 8 fft
fft256_68.o: fft256_68.asm
a68k fft256_68.asm
fft256_68.asm: fftg68
fftg68 fft256_68 8 _fft
#
# cut a tar file
#
tar: ffttar.uue
ffttar.uue: fft_tar.Z
uue fft_tar.Z >ffttar.uue
fft_tar.Z: fft_tar
compress fft_tar
FFTPROGS= fftg.c fftoutf.c fftoutc.c fftsubs.c fftsubs.h
FFTASM= fftouts.c fftouta.c fftouta.mac
TESTS= fft2.c fft256c.c fft256f.c
DATA= data1.fft data2.fft
MISC= makefile README MANIFEST
TAR= $(FFTPROGS) $(TESTS) $(DATA) $(MISC)
fft_tar: $(TAR)
tar cvf fft_tar $(TAR)
#
# cut an arc file
#
arc: fftarc.uue
fftarc.uue: fft.arc
uue fft.arc >fftarc.uue
fft.arc: $(TAR)
del fft.arc
pkarc -a fft $(FFTPROGS)
pkarc -a fft $(TESTS)
pkarc -a fft $(DATA)
pkarc -a fft $(MISC)
#
# temp progs to test machine instruction timing in a tight loop.
#
loop.obj: loop.s
speed: speed.obj loop.obj
cc -o speed speed.obj loop.obj